<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<style>
div{
    background:#009FCC;
    font-size:24px;
    padding:5px;
    color:white;
}
form{
    background: rgba(255, 255, 255, 0.3);
    border:#357FC4 solid 1px;
    color:#575454;  
    width:500px;
	height: 400px;
    margin:20px auto;
    font-size:15px;
    position:relative;
    
}
table{
	position: absolute;
	margin-left: 105px;
	top: 120px;
}
a{
    text-decoration:none;
}
input[type="submit"]{
    background:#ee7700;
    color:white;
    font-size:15px;
    font-weight:bold;
    width:90px;
    height:35px;
	position:absolute;
	margin-left: -30px;
	cursor:pointer;
}
	
input[type="reset"]{
    background:#ee7700;
    color:white;
    font-size:15px;
    font-weight:bold;
    width:90px;
    height:35px;
	position: absolute;
	margin-left: 80px;
	cursor:pointer;
}
	
td:first-child{
    text-align:right;
    padding:0 5px;
}
td:only-child{
    text-align:center;
    font-size:12px;
}
span:before{
    content:"* ";
    color:red;
}

span{
    color:black;
}
input[type="text"]:read-only{
    border:#888484 solid 2px;
    background:#888484;
    font-weight:bold;   
}
input[type="text"]:hover{
    background:#EFD9AC;
}

body {
	height: 719px;
	width: 100;
	{% load static %}
	background-image: url({% static "bg.jpg" %});
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
	background-size: 100% 100%; 
}
</style>


<body>
<form method="POST" action="{% url 'Cour_add1' %}">
    {% csrf_token %}
<div>添加课程信息</div>
<table>
    <tr><td><span>课程号:</span></td><td><input type="text" name="Cid" id="user_name"/></td></tr>
    <tr><td>&nbsp;</td></tr>
    <tr><td><span>课程名:</span></td><td><input type="text" name="Cname" id="user_password"/></td></tr>
    <tr><td>&nbsp;</td></tr>
    <tr><td><span>课程学分:</span></td><td><input type="text" name="Ccredit" id="user_confirm_password"/></td></tr> 
    <tr><td>&nbsp;</td></tr>
   
    <tr><td><input type="submit" name="submit" value="立即添加" /></td> <td><input type="reset" name="reset" value="立即重置" /></td></tr>
</table>
</form>

</body>
</html>
